package edu.java.texbooks.scjp.chap02;

public class Horse {
    private Halter myHalter=new Halter();
    
    public void tie(String kindRope){
	getMyHalter().tie(kindRope);
	//System.out.println(kindRope);
    }

    public void setMyHalter(Halter myHalter) {
	this.myHalter = myHalter;
    }

    public Halter getMyHalter() {
	return myHalter;
    }
    
    
}
